const express = require('express');
const mysql=require('mysql');

const connection = mysql.createConnection({
    host     : 'localhost',
    user     : 'root',
    password : 'root',
    database : 'system'
  });

  const server=express.Router()


server.get('/login',function(req,res){

    console.log(req.query)
    // let sql=`INSERT INTO AREA VALUE(NULL,${req.query()},3)`
    // connection.query(sql,)
})
module.exports(connection)